package com.example.music.entity;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;


/**
 * <p>
 * 管理员
 * </p>
 *
 * @author ZCL
 * @since 2022-01-26
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("adminLogin")
@ApiModel(value = "登录对象", description = "登录")
public class AdminLogin{

    @ApiModelProperty(value = "登录名",required = true)
    @TableId("username")
    private String username;

    @ApiModelProperty(value = "密码",required = true)
    @TableField("password")
    private String password;

    @ApiModelProperty(value = "验证码",required = true)
    private String code;


}
